package com.itheima.health.service;


import com.itheima.health.dto.OrderSubmitParam;
import com.itheima.health.pojo.Order;

public interface OrderService {

    /**
     * 预约下单
     * @param orderSubmitParam
     * @return
     */
    Order add(OrderSubmitParam orderSubmitParam);

    /**
     * 订单详情
     * @param id
     * @return
     */
    Order selectById(Integer id);
}
